<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>短信管理</h2>
    </div>

        <!-- 数据表格 -->
    <div class="data-table">
        <table>
            <!-- 表头 -->
            <thead>
                <tr>
                    <th class="row-selected row-selected">
                        <input class="check-all" type="checkbox">
                    </th>
                        <th>ID</th>
                        <th>手机号码</th>
                        <th>短信内容</th>
                        <th>短信编号</th>
                        <th>发送时间</th>
                        <th>发送状态</th>
                        <th>状态时间</th>
                </tr>
            </thead>
            <!-- 列表 -->
            <tbody>
                <volist name="list" id="v">
                    <tr>
                        <td><input class="ids" type="checkbox" value="{$data['id']}" name="ids[]"></td>
                        <td>{$v['id']}</td>
                        <td>{$v['mobile']}</td>
                        <td>{$v['message']}</td>
                        <td>{$v['msgid']}</td>
                        <td>{:date('Ymd H:i:s',$v['ctime'])}</td>
                        <td>{$v['restatus']=='0'?'无':$v['restatus']}</td>
                        <td>{$v['retime']?date('Ymd H:i:s',$v['retime']):''}</td>
                    </tr>
                </volist>
            </tbody>
        </table>
    </div>
    <!-- 分页 -->
    <div class="page">
        {$_page}
    </div>
</block>